import React, {Component} from 'react';
import {NavLink} from "react-router-dom";



class MyNavLink extends Component<any> {

    render() {

        return (
            <>
                <NavLink className="list-group-item" to={this.props.to} {...this.props} children={this.props.children} />
            </>

        );
    }
}

export default MyNavLink;